Skip to content

Add gunicorn ASGI to conformance tests#218

Closed
stefanvanburen wants to merge 10 commits intomainfrom
svanburen/gunicorn-http2
Closed

Add gunicorn ASGI to conformance tests#218
stefanvanburen wants to merge 10 commits intomainfrom
svanburen/gunicorn-http2

Conversation

@stefanvanburen
Copy link
Copy Markdown
Member

@stefanvanburen stefanvanburen commented Apr 16, 2026

Looks like http2/ASGI has been added to gunicorn (http2 is still in beta), so figured adding these to our conformance suite was reasonable.

edit: Ended up dropping http2 here as still ran into some issues; maybe still valuable to land the ASGI stuff, though?

Ref: https://gunicorn.org/guides/http2
Ref: https://gunicorn.org/asgi

Looks like http2/ASGI has been added to gunicorn (http2 is still in
beta), so figured adding these to our conformance suite was reasonable.

Ref: https://gunicorn.org/guides/http2
Ref: https://gunicorn.org/asgi

Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
@stefanvanburen stefanvanburen changed the title Add gunicorn http2 to conformance tests Add gunicorn asgi to conformance tests Apr 17, 2026
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Not great to have it in both places.

Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Comment thread README.md
Comment on lines +239 to +243
- [Gunicorn](https://gunicorn.org/) - Python WSGI and ASGI HTTP Server

For WSGI servers:

- [Gunicorn](https://gunicorn.org/) - Python WSGI HTTP Server
- [Gunicorn](https://gunicorn.org/) - Python WSGI and ASGI HTTP Server
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feels a little weird to have this in both places now? 🤷

@stefanvanburen stefanvanburen marked this pull request as ready for review April 17, 2026 14:05
@stefanvanburen stefanvanburen requested a review from a team April 17, 2026 14:05
@stefanvanburen stefanvanburen changed the title Add gunicorn asgi to conformance tests Add gunicorn ASGI to conformance tests Apr 17, 2026
@stefanvanburen
Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Collaborator

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I have been considering many times to remove daphne from the pytest parameters since it is pretty flaky, and I don't think it's commonly used. We shouldn't add another similar one.

Maybe just keep the changes to server.py and not the rest?

@stefanvanburen
Copy link
Copy Markdown
Member Author

Maybe just keep the changes to server.py and not the rest?

eh, doesn't feel super valuable to me to have the code in place but not hooked up in the tests. maybe we just keep this in the back of our mind for if the situation ever improves?

Going to close, but will reopen if you feel strongly the other way!

@stefanvanburen stefanvanburen deleted the svanburen/gunicorn-http2 branch April 17, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants